<template>
    <div>
        <div class="errorPicture">
            <img src="../assets/success.png">
        </div>
        <div class="errorWord">
            {{errorData}}
        </div>
        <div @click="goSign">
            <MyButton :ButtonNext="ButtonNext"></MyButton>
        </div>

    </div>
</template>

<script>
    import MyButton from '@/components/MyButton.vue'
    import axios from "axios"
    import router from '@/router'
    import {mapActions} from 'vuex'
    import {GO_TO_SIGN} from '../store/types'

    export default {

        name: "goSign",
        components: {
            MyButton
        },
        data() {
            return {
                ButtonNext: "立即签约",
                errorData:'资料已经填写完毕,是否立即去签约'
            }
        },
        methods: {
            ...mapActions('goSign', [GO_TO_SIGN]),
           goSign() {
               this.GO_TO_SIGN()
            }
        }
    }
</script>

<style scoped>
    .errorPicture {
        margin-top: 40px;
    }

    .errorWord {
        margin-top: 40px;
    }
</style>